import axios from '@/apis/axios/index.js'
const baseUrl = `/erp/bill/scanSn`


export function addData(params) {
	return axios.request({
		url: `${baseUrl}/addData`,
		method: 'post',
		data: params
	})
}



export function updateScanQuantity(params) {
	return axios.request({
		url: `${baseUrl}/updateScanQuantity`,
		method: 'post',
		data: params
	})
}


export function deleteById(params) {
	return axios.request({
		url: `${baseUrl}/deleteById`,
		method: 'post',
		data: params
	})
}

export function listPage(params) {
	return axios.request({
		url: `${baseUrl}/listPage`,
		method: 'post',
		data: params
	})
}

export function listScanLogsByBillDetailId(params) {
	return axios.request({
		url: `${baseUrl}/listScanLogsByBillDetailId`,
		method: 'post',
		data: params
	})
}